/*
 * This file is part of iFlashCards (iStudy)
 */

#import <Foundation/Foundation.h>
#import <CoreFoundation/CoreFoundation.h>
#import <UIKit/UIView.h>
#import <UIKit/UITableCell.h>
#import <UIKit/UIImageAndTextTableCell.h>
#import <UIKit/UITable.h>
#import <UIKit/UITableColumn.h>
#import <UIKit/UINavigationBar.h>
#import <UIKit/UITextView.h>
#import "DrillView.h"

@interface CardView : UIView
{
	NSString*						_question;
	NSString*						_answer;
	NSString*						_answerMessage;
	
	bool								_answer_displayed;
	
	UITransitionView*		_answerTransition;
	
	UITextLabel*				_questionView;
	UITextLabel*				_answerView;
	UITextLabel*				_hiddenAnswerView;
	
	DrillView*					_drillView;
	
}

- (id) initWithDrillView:(DrillView*)drillView withFrame:(struct CGRect)rect withHeight:(float)height;
- (void) showAnswer;
- (void) resetCard;
- (void) setQuestion: (NSString*)question andAnswer:(NSString*)answer;

@end

